import request from '@/utils/request.js'

import {useTokenStore} from '@/stores/token.js'






export const worldMessageResourceListService = (params)=>{
    return  request.get('/admin/world/message/resource/pageList',{params:params})
}


export const worldMessageResourceAddService = (data)=>{
    return request.post('/admin/world/message/resource/save',data);

}


export const worldMessageResourceEditService = (params)=>{
    return  request.post('/admin/world/message/resource/edit',params)
}


export const worldMessageResourceDelService = (id)=>{
    return request.get('/admin/world/message/resource/del?id='+id)
}
export const worldMessageResourcePublishService = (data)=>{
    return  request.post('/admin/world/message/resource/publish',data)
}
